﻿using System;

namespace com.bodurov.Html.HtmlSummarizer
{
    public interface ISummarizer
    {
        Func<IStringIterationState, bool> SummaryEnds { get; set; }
        string GetHtmlSummary(string completeHtml, int numberParts, PartType partType);
        string GetHtmlSummary(string completeHtml, Func<string, int> defuneStartIndex, int numberParts, PartType partType);
    }
}
